Next-Key Locks